<?php
include("../../share/config.php");
include("../../share/lock.php");
$sql = "select * from user where student_id ='$login_session'";
$result=mysqli_query($conn,$sql);
while($row = mysqli_fetch_array($result,MYSQLI_ASSOC)){
	echo '<form class="form-horizontal" role="form" action="../actions/stu/update_info.php" method="post">';
	echo '<div class="form-group"><br/><label for="inputEmail3" class="col-sm-2 control-label">真实姓名</label><div class="col-sm-10"><input type="hidden" value="'.$row['user_name'].'" class="form-control" name="name" />'.$row['user_name'].'(如要修改联系管理员)</div></div>';
	echo '<div class="form-group"><br/><label for="inputEmail3" class="col-sm-2 control-label">学号</label><div class="col-sm-10"><input type="hidden" value="'.$row['student_id'].'" class="form-control" name="name" />'.$row['student_id'].'(如要修改联系管理员)</div></div>';
	echo '<div class="form-group"><br/><label for="inputEmail3" class="col-sm-2 control-label">验证状态</label><div class="col-sm-10">';
	if($row['verify']==1){
		echo '已通过验证';
	}
	elseif($row['verify']==0){
		echo '未审核';
	}
	else{
		echo '不通过';
	}
	echo '</div>';
	echo '</form>';
}
?>
 